<?php

namespace Admin\Model;
use Think\Model;
class AdminModel extends Model{
    protected $_validate = array(
        array('name','require','用户名不能为空'),
        array('password','require','密码不能为空'),
        array('code','require','验证码不能为空'),
    );
}
